package com.wenda.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
	@RequestMapping("/")
	public String showLogin() {
		return "login";
	}
	@RequestMapping("/submit")
	public String showSubmitIndex() {
		return "user/submit_user";
	}
	@RequestMapping("/check")
	public String showCheckIndex() {
		return "user/check_user";
	}
	@RequestMapping("/admin")
	public String showAdminIndex() {
		return "admin/admin";
	}
	@RequestMapping("/head")
	public String showHead() {
		return "public/head";
	}
	
	@RequestMapping("/submit_left")
	public String showSubmitLeft() {
		return "public/submit_left";
	}
	
	@RequestMapping("/check_left")
	public String showCheckLeft() {
		return "public/check_left";
	}
	
	@RequestMapping("/admin_left")
	public String showAdminLeft() {
		return "public/admin_left";
	}
	
	@RequestMapping("/right")
	public String showRight() {
		return "public/right";
	}
	@RequestMapping("/bottom")
	public String showBottom() {
		return "public/bottom";
	}
	@RequestMapping("/user/modify")
	public String showUserModify() {
		return "user/modify";
	}
	@RequestMapping("/user/submit")
	public String showUserSubmit() {
		return "user/submit";
	}
	
	@RequestMapping("/admin/modify")
	public String showAdminModify() {
		return "admin/modify";
	}
	
	@RequestMapping("/user/Queryindividual")
	public String showQueryindividual() {
		return "user/Queryindividual";
	}
	@RequestMapping("/user/previous_topic")
	public String showPrevious() {
		return "user/previous_topic";
	}
	@RequestMapping("/user/present_topic")
	public String showPresent() {
		return "user/present_topic";
	}
	@RequestMapping("/admin/Entryinfo")
	public String showAdminEntryInfo() {
		return "admin/Entryinfo";
	}
	@RequestMapping("/admin/showCheck_user")
	public String showCheckUser() {
		return "admin/showCheck_user";
	}
	@RequestMapping("/admin/showSubmit_user")
	public String showAdminSubmit() {
		return "admin/showSubmit_user";
	}
	
	@RequestMapping("/reset")
	public String showResetPwd() {
		return "resetPwd";
	}
	
}
